{% extends 'WebQuant/base.html' %}
{% block title %}交易详情{% endblock %}
{% block content %}
{% include 'WebQuant/strategy_nav.html' %}
<div style="overflow:hidden">
    {% include 'WebQuant/strategy_nav_left.html' %}
    <div class="right_cont">
        {% include 'WebQuant/strategy_info_digest.html' %}
        <!-- <div id="kchart" style="width: 1300px;height:400px;"></div> -->
        <!-- <div id="container" style="min-width:400px;height:400px"></div> -->
        <div class="moudle_bottom">
            <div class="table_head">
                <div class="table_h1">日期</div>
                <div class="table_h2">时间</div>
                <div class="table_h3">股票代码</div>
                <div class="table_h4">买/卖</div>
                <div class="table_h5">数量</div>
                <div class="table_h6">成交价</div>
                <div class="table_h7">总成本</div>
                <div class="table_h8">交易佣金</div>
            </div>
            <ul class="table_data"></ul>
            <div class="foot">
                <div id="transaction"></div>
                <div>买进 <span id="c_orange"></span></div>
                <div style="border:none;padding-right:0">卖出<span id="c_blue" >￥0.00</span></div>
            </div>
        </div>
    </div>
</div>
<script src="/static/WebQuant/js/jq.js"></script>
<script src="/static/WebQuant/js/hstock/highstock.js"></script>
<script src="/static/WebQuant/js/hstock/exporting.js"></script>
<script src="/static/WebQuant/js/mustache.min.js"></script>
<script src="/static/WebQuant/js/csrf.js"></script>
<script src="/static/WebQuant/js/trade-detail.js"></script>
<script src="/static/WebQuant/js/base.js"></script>
<script src="/static/WebQuant/js/strategy_info_digest.js"></script>
<script id="template" type="x-tmpl-mustache">
	[[#buySellPointList]]
	<li>
		<div class="tables_d1">[[orderdate]]</div>
		<div class="tables_d2">[[ordertime]]</div>
		<div class="tables_d3">[[stockname]] <span>[[stockcode]]</span></div>
		[[&orderstate]]
		<div class="tables_d5">[[ordercount]]</div>
		<div class="tables_d6">[[price]]</div>
		<div class="tables_d7">￥[[totalcost]]</div>
		<div class="tables_d8">￥[[commission]]</div>
	</li>
	[[/buySellPointList]]
</script>
{% endblock %}